package com.xxcloud.search.model.note;

/**
 * Created by chenbingwen on 19/10/31.
 */
public class NoteIndex {

    // 索引
    public static final String INDEX_NAME = "note";
    public static final String INDEX_TYPE = "note_docs";
    public static final int INDEX_SHARDS = 2;

    // 字段
    public static class Filed {

        public static final String ID = "id";

        public static final String TITLE = "title";

        public static final String CONTENT = "content";

        public static final String CREATE_TIME = "createTime";

        public static final String UPDATE_TIME = "updateTime";
    }

}
